package com.winning.pmph.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;
import java.util.List;

@Data
@Table(name = "EXERCISE_GROUP")
public class ExerciseGroup extends BaseEntity {
    private static final long serialVersionUID = 1L;

    public static final String ROLE_A1 = "A1/A2型题";
    public static final String ROLE_A3 = "A3/A4型题";
    public static final String ROLE_B = "B型题";
    public static final String ROLE_CASE = "案例分析题";

    @TableId
    private String id;

    private String exerciseBookId;

    private String role;

    private String totalSerialNumber;

    private String totalTitleStem;

    private String caseAlias;

    private String classify;
    @TableField(exist = false)
    private List<ExerciseEntry> exerciseEntryList;
}
